package com.example.springlog.entity;

import java.io.Serializable;

/**
 * @Description:
 * @Author: 刘超
 * @Date: 2023-06-06 8:44
 */
public class DesensitiveRule implements Serializable {
    private static final long serialVersionUID = 6807891291000046728L;

    /**
     * 脱敏正则表达式
     */
    private String regex;

    /**
     * 脱敏规则
     */
    private String rule;

    public DesensitiveRule() {
    }

    public DesensitiveRule(String regex, String rule) {
        this.regex = regex;
        this.rule = rule;
    }

    public String getRegex() {
        return regex;
    }

    public void setRegex(String regex) {
        this.regex = regex;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }
}
